<template>
    <baseView>
        <div class="user-manager">
            <DataTableV2 :tableColumn="tableColumn" :size="[15, 20, 25]" :fetchApi="userManage" :params="params"
                ref="tableRef">
            </DataTableV2>
        </div>
    </baseView>
</template>

<script setup>
import { userManage } from "@/api/sys"
const params = reactive({
    pagenum: 1,
    pagesize: 15
})
const tableColumn = [
    {
        label: '单位',
        prop: 'dept'
    },
    {
        label: '用户',
        prop: 'username'
    },
    {
        label: '用户名',
        prop: 'userid'
    },
    {
        label: '状态',
        prop: 'status'
    },
    {
        label: '创建时间',
        prop: 'createtime'
    }

]

</script>

<style lang="scss" scoped>
.user-manager {
    width: 100%;
    height: 100%;
}
</style>